package com.example.tree;

import com.example.common.config.RedisConfiguration;
import com.example.tree.config.DefaultConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

@MapperScan("com.example.tree.mapper")
@Import({RedisConfiguration.class})
@EnableFeignClients(basePackages = "com.example.upload.api" , defaultConfiguration=com.example.upload.config.DefaultFeignConfig.class)
@SpringBootApplication
public class TreeApplication {
    public static void main(String[] args) {
        SpringApplication.run(TreeApplication.class, args);
    }
}
